
<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>档案管理</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
<link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
<link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
      .col-xs-1 nav .nav>li>a.a_active{ 
        color:#ff7f50;
    background: #0b85be;}
    </style>

</head>

<body class="white-bg" style="padding: 2px;">
   <div class="bs-docs-container" id="main">
    <div class="">
        <div class="col-xs-11" role="main" style="padding: 4px;width: 90%">
          <div class="bs-docs-section">
            <form action="" class="form-inline">
               <table class="table-bordered table">
                  <tr>
                    <td style="padding: 1px;">
						<table class="table table-bordered text-center" style="margin-bottom: 0" id="jyTable">
							<tr class="info">
								<th class="text-center">时间</th>
								<th class="text-center">工作单位</th>
								<th class="text-center">工作地点</th>
                <th class="text-center">职务</th>
                <th class="text-center">薪资(元/月)</th>
                <th class="text-center">证明人</th>
								<th class="text-center">证明人电话</th>
								<th class="text-center"><button class="btn btn-sm btn-info" type="button" id="addBtn">添加</button></th>
							</tr>
							<tr>
                 <td>
                 <input type="text" class="form-control list-item" id="startTime" size="8"> - 
                 <input type="text" class="form-control list-item" id="endTime" size="8">
                </td>
							  <td><input type="text" class="form-control" id="" size="24"></td>
							  <td><input type="text" class="form-control" id="" size="24"></td>
                <td><input type="text" class="form-control" id="" size="8"></td>
                <td><input type="text" class="form-control" id="" size="8"></td>
							  <td><input type="text" class="form-control" id="" size="8"></td>
                <td><input type="text" class="form-control" id="" size="4"> - <input type="text" class="form-control" id="" size="8"></td>
							  <td><button class="btn btn-danger btn-sm del_this" type="button">删除</button></td>
							</tr>
						</table>
                    </td>
                  </tr>
                
               </table>
            </form>
          </div>
          <div class="padding-10 text-center">
              <button class="btn btn-primary btn-sm" type="button">提交</button><span class="lr_5"></span><button class="btn-sm btn btn-warning" type="button" onclick="back()">返回</button>
          </div>
        </div>
        <div class="col-xs-1" style="width: 9%">
          <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix">
            <ul class="nav">
               <li class="active">
                  <a href="#main" style="font-size: 14px">所&nbsp;&nbsp;有</a>
               </li>
               <li>
                  <a href="#basicInfo" style="font-size: 14px">基本信息<span class="colorRed">*</span></a>
               </li>
                <li>
                  <a href="{:url('Other/educationexperience')}" style="font-size: 14px" id="educationExperience">教育经历</a>
               </li>
              <li>
                   <a href="{:url('Other/peixunexperice')}" style="font-size: 14px">培训经历</a>
               </li>
               <li>
                   <a href="{:url('Other/workexperice')}" style="font-size: 14px" class="a_active">工作经历</a>
               </li>
                <li>
                   <a href="{:url('Other/familystatus')}" style="font-size: 14px">家庭情况</a>
               </li>
                <li>
                   <a href="{:url('Other/otherdepartment')}" style="font-size: 14px">其他部门</a>
                </li>
                <li>
                   <a href="{:url('Other/otherstatus')}" style="font-size: 14px">其他情况</a>
                </li>
                 <li>
                   <a href="{:url('Other/fujian')}" style="font-size: 14px">附&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;件</a>
                </li>
            </ul>
          </nav>
        </div>
    </div>
  </div>
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
 <script src="__STATIC__/layout/js/plugins/laydate/laydate.js"></script>
  <script src="__STATIC__/layout/js/contabs_sub.js"></script>

<script>
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        })
    })
</script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script>
    //返回
    function back(){
      history.go(-1)
    }
 
     
$(function(){
	//添加
	$("#addBtn").click(function(){
		var trTd = '<tr> <td><input type="text" class="form-control list-item" id="startTime" size="8"> - <input type="text" class="form-control list-item" id="endTime" size="8"></td><td><input type="text" class="form-control" id="" size="24"></td><td><input type="text" class="form-control" id="" size="24"></td><td><input type="text" class="form-control" id="" size="8"></td><td><input type="text" class="form-control" id="" size="8"></td><td><input type="text" class="form-control" id="" size="8"></td><td><input type="text" class="form-control" id="" size="4"> - <input type="text" class="form-control" id="" size="8"></td><td><button class="btn btn-danger btn-sm del_this" type="button">删除</button></td></tr>'
		$("#jyTable tbody").append(trTd)
	})

	//删除
	$(document).on("click",".del_this",function(){
		$(this).parent().parent().remove();
	})
})
// laydate.render({
//   elem: '#startTime',
//   theme: 'grid'
// });
// laydate.render({
//   elem: '#endTime',
//   theme: 'grid'
// });

lay('.list-item').each(function(){
  laydate.render({
    elem: this,
    trigger: 'click'
  });
}); 
//判断基本信息

</script>
</body>

</html>